Zoned recording embedded servo disk drive having no data identification fields and reduced rotational latency

ABSTRACT

A zoned recording, embedded servo disk drive includes a sector architecture in which the recording head locates and identifies data sectors without using data identification (ID) fields, but instead using information obtained from electronic storage and from servo sectors which need not be adjacent to the data sectors. Each data track contains servo information and data, but not data sector ID information, and is circumferentially divided into identical segments. Included in each track segment is a number of data regions separated from one another by servo sectors. The data regions in each track segment may contain partial data sectors and complete data sectors, and each data sector is identified by a number indicating its location relative to the beginning of the track segment. After movement of the head to another data zone and after power to the servo electronics is restored on recovery from a power saving mode, the correct data sector for reading or writing is located by use of the number of the data sector following the first servo sector read by the head. This avoids the latency penalty that would occur if the disk drive had to wait until the next beginning-of-track index mark.

This is a divisional of application Ser. No. 08/173,541 filed on Dec.23, 1993, now U.S. Pat. No. 5,523,903, issued Jun. 4, 1996.

FIELD OF THE INVENTION

This invention relates in general to data recording disk drives, and inparticular to sector formats for multiple track data storage media usedin fixed block architecture (FBA) disk drives.

CROSSREFERENCE TO RELATED APPLICATION

This application is related to a co-pending patent application entitled,"System And Method For Skip-Sector Mapping In A Data Recording DiskDrive", filed Dec. 23, 1993, assigned to IBM.

BACKGROUND OF THE INVENTION

All disk drives require some means for determining the radial andcircumferential position of the read/write heads over the disks so thatthe heads can be accurately positioned over any desired track andsector. Typically, this is accomplished by placing servo information onone or more of the disk surfaces for use by magnetic or optical heads indetermining their positional orientation over the disk. In sector-servo(also known as embedded servo) disk drives, the servo information isinterspersed with data on each disk surface. This approach has theadvantage of providing the positioning information close to the datasectors it identifies, thereby eliminating sources of trackmisregistration which otherwise tend to limit track density. However, adisadvantage of the sector servo approach is that it incurs additionaloverhead in to permit transitions between data regions and servo regionsand to distinguish data regions from servo regions.

Much attention has been focused in recent years on reducing the overheadassociated with sector servo architectures. One approach, known as theno-ID format, is taught by Hetzler in copending U.S. patent applicationSer. No. 07/727,680, filed Jul. 10, 1991. No-ID disk drives use servosectors in combination with a defect map to identify the data sectorsand completely eliminate the use of an ID region. Using the no-IDformat, each sector on a track is composed of two regions: a servoregion and a data region. The servo sectors are located using a servo IDmark or address mark. ECC may be added to track ID information toprovide a more robust servo pattern. Each data sector is identified byits cylinder, head and servo sector number counted from an indexlocation. This format is the same for substantially all sectors on alltracks of the disk.

A second strategy which has been used to improve recording density insector servo disk drives in recent years is known as zone bit recording(ZBR), as taught by Hetzler in U. S. Pat. No. 5,210,660. In ZBR diskdrives, the disk is divided into multiple zones oriented in the radialdirection. Each zone is comprised of a set of tracks. Since tracks inthe outer zones are longer than those in the inner zones, the tracks inthe outer zones may store more data than the tracks in the inner zones.Typically, data is stored in sectors, each of which has the same numberof data bytes. In this configuration, the additional capacity in theouter zones is utilized by having a larger number of data sectors oneach track in the outer zones. This results in the number of datasectors per track varying from zone to zone. In order to provide aconstant servo sampling rate for all zones, a single fixed number ofservo sectors is used across the entire disk. The combination of avarying number of data sectors per track and a fixed number of servosectors per track can result in some of the data sectors being split byservo sectors. An example of a disk formatted according to the Hetzlerteaching is shown in FIG. 1, where data recording disk 101 is split intothree zones--102, 104, and 106. Each zone is comprised of a plurality oftracks 103. Each track has a number of data sectors 105 with associatedID fields 107. Various servo sectors, designated as 108, are showninterspersed with data sectors 105 around the disk. An index location109 is shown, where the data sectors in each zone align with a servosector 108. A portion of a track on the disk is shown expanded at 110.Four complete data sectors are shown (130, 122, 132 and 124), each withtheir associated ID field (140, 141, 142 and 143). Three representativeservo sectors 125, 126 and 128 are also shown. As can be seen from thisexample, some data sectors will be split by servo sectors, and some datasectors will not start immediately following a servo sector. Forexample, data sectors 122 and 124 are split by servo sectors 126 and128, respectively, while data sectors 130 and 132 are not split by servosectors. Data sectors 122, 132 and 124 and associated ID fields startimmediately after another data sector, rather than immediately followinga servo sector.

The necessity of splitting data sectors and of having some data sectorsthat do not start immediately following a servo sector presentscomplications which heretofore have prevented the use of ZBR and no-IDtogether in the same disk drive. For instance, in No-ID disk drives, thephysical location of a data sector is derived from the address markfield, which is also used to locate the servo sector. However, thistechnique is dependant on a fixed, constant one-on-one relationshipbetween the locations of the servo sectors and the data sectors, arelationship which does not exist in a ZBR-formatted disk drive.

A technique has recently been introduced which addresses part of theproblem by providing electronics to generate timing pulses to mark thelocations of data sectors which are not necessarily adjacent to servosectors and which may be split by servo sectors. The technique wasintroduced by AT&T in the ATT93C010 servo channel/multiprocessor chipwhich generates a start of data sector pulse for each data sectorstarting between two servo sectors. This is achieved through the use ofprogrammable registers whose values are updated at every servo sector.Two values are required at each servo sector: the number of clocks (thelength) from the prior servo sector to the start of the first completedata sector; and the number of data sectors which start before the nextservo sector. Also, the system must know the number of clocks requiredfor a full data sector, a value which is typically constant for eachzone.

However, while the ATT93C010 is able to locate the start of a datasector, it cannot identify a data sector--that is, distinguish it fromother data sectors, such as by computing its data sector number. Infact, it cannot even compute a partial data sector number for use indistinguishing a sector from others on the same part of a track. Assuch, it is insufficient for use in a disk architecture which must bothlocate and identify data sectors without using an ID field.

Another possibility for locating data sectors without using IDinformation is to add a servo-style address mark prior to each datasector. This approach ensures that each data sector can be locatedindependently of a servo sector. However, it suffers several drawbacks.First, it does not allow the disk drive to be reformatted with a sectorsize different from the original sector size since the address marksmust be written by a servo writer which permanently fixes the diskformat. Second, this approach can increase the complexity of the servowrite process, because additional steps may be required to create theadditional address marks. Third, the address marks occupy space on thedisk, increasing the overhead. Fourth, the address marks require awrite-to-read recovery region between data sectors, further increasingthe overhead. Finally, when used with a magneto-resistive read/writehead and micro jog technology, each address mark must be reliably readin a partially off-track position during write operations. This requiresguard bands at the zone boundaries, since the data address marks do notline up with one another from one zone to the next. The guard bands, ofcourse, further increase the overhead penalty associated with thismethod.

Accordingly, there has existed a heretofore unmet need in the art for asector architecture which effectively combines the ZBR and no-IDformats, which sector architecture enables the data recording head tolocate and identify data sectors for read and write operations withoutresorting to an address mark and without requiring write-to-readrecovery between adjacent data sectors.

SUMMARY OF THE INVENTION

In accordance with the invention, a data recording disk drive isprovided with an FBA sector architecture which enables a data recordinghead to identify and locate data sectors based solely on informationobtained from electronic storage and from servo sectors which need notbe adjacent to the data sectors. The data recording disks in the diskdrive are divided radially into zones, each zone including a number oftracks. Each track contains a number of data sectors and a number ofservo sectors, with the number of data sectors varying fromzone-to-zone. The tracks contain servo information and data, but no datasector ID information. Format information is maintained in theelectronic storage to describe the data sector layout for each zone. Thetracks in each zone are circumferentially divided into segments.Included in each segment is a number of data regions separated from oneanother by servo sectors. All data regions in a given segment are thesame number of bytes in length, but this length need not be an evenmultiple of data sectors. Accordingly, various regions may contain anyof the end of a data sector whose start is located in the previousregion, one or more complete data sectors, and the start of a datasector whose end is located in the following region. The formatinformation provided to identify and locate data sectors, including oneswhose region locations are not adjacent to servo sectors, includes anentry for each region in the segment. Each entry includes the lengths ofthe first and last data sections in the region, whether the sectorsrepresented by those sections are split between two regions, the totalnumber of data sectors in the region, and the sector number of the firstdata sector in the region. In addition to the information recorded foreach region, data is maintained, for each zone, to locate data sectorswhich do not start immediately following servo sectors. This dataincludes the number of bytes in a complete data sector, the length of acomplete data sector (measured in byte clocks), the length of a VCOsynchronization field (measured in byte clocks), the length of a VCOresynchronization field following a servo sector (measured in byteclocks), the lengths of one or more data pad fields (measured in byteclocks), and the numerator and denominator of the reduced fraction ofthe ratio of the number of data sectors per track and the number ofservo sectors per track. Portions of both the region information and thezone information may be stored in random access memory accessible toelectronics in the disk drive; other portions may be stored in a set ofregisters also accessible to the micro processor.

Also in accordance with the invention, a method is provided to computethe starting location and sector number of any data section based on theabove-described information. A set of counters is used to time thelength of the various fields in the format to compute the startinglocation of a required data sector. The data sector number from index iscomputed based on a relative data sector number, the servo sector numberfrom index, and the reduced number of data sectors per track.

Further in accordance with the invention, a method and system areprovided for continuously developing a servo-modulo count for use incomputing segment numbers and servo sector numbers. The servo-modulocounter computes two quantities: an index value to the segment layoutinformation for the current zone; and the data sector number for thefirst data sector in the current segment. The continuous availability ofthe servo-modulo count allows a disk drive configured in accordance withthe present invention to avoid a latency penalty which would otherwisebe incurred in waiting for an index mark as a basis to compute segmentnumbers and servo sector numbers.

Further in accordance with the invention, a method and system areprovided to identify the servo sector number following a head switch, inparticular for disk drives which are written with staggered servopatterns. A portion of the servo sector number is written into eachservo sector, and combined with offset values obtained from electronicstorage to produce a servo sector number following a head switch.

Further in accordance with the invention, a method and system areprovided for developing data sector numbers from servo sector numberswhere the relationship between the first data sector on a track and thefirst servo sector varies within a zone, and from zone to zone. Thisextends the benefits of the present invention to disk drives designedwith track skew which minimizes latency for head and cylinder switchoperations.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram illustrating a fixed block sectorarchitecture in accordance with the prior art.

FIG. 2 is a schematic diagram illustrating a fixed block architecturedisk drive in accordance with the present invention.

FIG. 3a is a schematic diagram illustrating a segment subdivision of adata recording track in accordance with the present invention.

FIG. 3b is a schematic diagram illustrating a track format with a stubin accordance with the present invention.

FIG. 4 is a block diagram illustrating a hardware embodiment of theservo functions of the present invention.

FIG. 5 is a block diagram illustrating the storage components used tocompute data sector locations in accordance with the present invention.

FIG. 6 is a flowchart illustrating servo-modulo computations inaccordance with the present invention.

FIG. 7 is a block diagram illustrating a hardware embodiment of aservo-modulo counter in accordance with the present invention.

FIG. 8 is a schematic diagram illustrating a staggered sector servowritten disk drive.

FIG. 9 is a schematic diagram illustrating an LBA to PBA mappingarchitecture in accordance with the present invention.

FIG. 10 is a flow chart illustrating LBA to PBA conversion computationsin accordance with the present invention.

FIG. 11 is a memory map table illustrating zone conversion storagecomponents in accordance with the present invention.

FIG. 12 is a flow chart illustrating PBA to zone, cylinder, head, sectorcomputations in accordance with the present invention.

I. SECTOR ARCHITECTURE

Shown in FIG. 2 is a disk drive configured in accordance with thepresent invention. The disk drive is formatted using a fixed blockarchitecture with sector servo and zone-bit recording. The disk drive,designated generally as 202, includes data recording disk 204, actuatorarm 206, data recording transducer 208 (also called a recording head),voice coil motor 210, servo electronics 212, read/write electronics 213,interface electronics 214, formatter electronics 215, microprocessor 216and RAM 217. Data recording disk 204 includes center of rotation 211,and is divided for head positioning purposes into a set of radiallyspaced tracks, one of which is shown at 218. The tracks are groupedradially into a number of zones, three of which are shown as 251, 252and 253. The disk contains a plurality of servo sectors 220, whichextend across the tracks in a generally radial direction. Each track hasa reference index 221. Within each zone, the tracks are alsocircumferentially divided into a number of data sectors 254. As will bediscussed hereafter, the data sectors contain no sector ID fields. Inaccordance with the normal meaning of "fixed block architecture", alldata sectors are substantially the same size, expressed in bytes ofdata. However, it should be noted that the present invention may easilybe adapted to tolerate some variation in data sector size, such as from512 bytes per sector to 520 bytes per sector, in the event such aconfiguration was desirable for a particular implementation. The numberof data sectors per track varies from zone to zone, and some of the datasectors do not begin immediately following a servo sector. Further, someof the data sectors are split by servo sectors. If the disk drive hasmultiple heads, then the set of tracks which are at the same radius onall surfaces is referred to as a "cylinder".

Read/write electronics 213 receives signals from transducer 208, passesservo information to servo electronics 212, and passes data signals toformatter 215. Servo electronics 212 uses the servo information toproduce a current at 240 which drives voice coil motor 210 to positionrecording transducer 208. Interface electronics 214 communicates with ahost system (not shown) over interface 262, passing data and commandinformation. Interface electronics 214 also communicates with formatter215 over interface 264. Microprocessor 216 communicates with the variousother electronics over interface 270.

In the operation of disk drive 202, interface electronics 214 receives arequest for reading or writing data sectors over interface 262.Formatter electronics 215 receives a list of requested data sectors frominterface electronics 214 and converts them into zone, cylinder, headand data sector numbers which uniquely identify the location of thedesired data sectors. The head and cylinder information are passed toservo electronics 212, which is responsible for positioning recordinghead 208 over the appropriate data sector on the appropriate cylinder.If the cylinder number provided to servo electronics 212 is not the sameas the track number over which recording head 208 is presentlypositioned, servo electronics 212 first executes a seek operation inorder to reposition recording head 208 over the appropriate cylinder.

Once servo electronics 212 has positioned recording head 208 over theappropriate cylinder, servo electronics 212 begins executing sectorcomputations in order to locate and identify the desired data sector. Asservo sectors 220 pass under recording head 208, the no-ID approachdescribed in aforementioned U.S. patent application Ser. No. 07/727,680is used to identify each servo sector. In brief, an index markidentifies the first servo sector, an address mark locates subsequentservo sectors, and a count of address marks uniquely identifies eachservo sector. Additional information, which is described in greaterdetail below, is maintained in association with servo electronics 212and formatter electronics 215 and is used to determine whether thepresent servo sector splits a data sector or whether a new data sectorstarts immediately following the present servo sector. Furtherinformation is maintained in servo electronics 212 and formatterelectronics 215 which identifies the location of (or the distance to)the start of the next data sector from the present servo sector. Stillfurther information is maintained which identifies the location of (orthe distance to) any additional data sectors which begin before the nextsubsequent servo sector. Still further information identifies the numberof the data sector from the index mark. This information is used toallow formatter electronics 215 to compare the data sector numberpassing under the recording head with the list of sectors received frominterface electronics 214.

Shown in FIG. 3a is a detailed schematic diagram of the sectorarchitecture for an exemplary track from a data recording disk inaccordance with the present invention. A portion of a track is shown as302, containing segment 304. Segment 304 is subdivided into a pluralityof data regions, 306, 308 and 309. The data regions are separated fromone another by servo sectors 310, 312, and 314. Segment 304 alsoincludes a plurality of data sectors labeled D1 through D5. Finally,each data sector is made up of one or more data sections, labeled 320,322, 324, 326, 328, 330 and 332. Logically, a segment is the set ofservo sectors and data sectors having a unique spatial relationshipbetween the sectors. The format for a track may then be produced byrepeating the segment. A data region is the space between adjacent servosectors. A data sector is the smallest individually addressable unit ofuser data, independently readable and writable. Finally, a data sectionis a contiguous portion of a data sector, not interrupted by a servosector.

The exemplary track of FIG. 3a contains a number of data sectors and anumber of servo sectors, not necessarily equal. Note that servo sector316 is not part of the segment since data sector D5 ends just prior toservo sector 316. Each data region contains a number of data sectors,some of which may be split by servo sectors. For example, region 306contains the entire data sector D1 (section 320), and only a portion ofdata sector D2 (section 322). Likewise, data sector D2 is split by servosector 312 into sections 322 and 324.

Also shown in FIG. 3a are details of the contents of servo sector 310.Write-to-read recovery and speed compensation field 342 is used to allowthe read/write electronics to switch from a data writing operation to aservo reading operation, and to allow for fluctuations in the diskrotational speed. Address mark field 344 precisely identifies a specificposition within the servo sector which is used as a timing reference.Position field 346 contains the actual servo information used toposition the head, typically including a position error signal and otherinformation such as a track number (track ID or TID), index value, servosector number (or any portion thereof) and head number (or any portionthereof). Servo pad field 348 allows for the electronics to switch fromreading servo to writing or reading data, as well as for disk rotationalspeed variations.

Also shown in FIG. 3a are details of the contents of data section 332,which contains a full data sector D5. VCO sync field 352 permits theread/write electronics to enable the voltage controlled oscillator (alsoknown as a phase locked loop) to obtain proper phase lock for readingthe data. Data and ECC field 354 contains the user data and errorcorrection information. Data pad field 356 allows for differences inprocessing time for reading and writing data, as well as for flushingany encoder/decoder, and for disk rotational speed variations. It alsoprovides sufficient time for the electronics to prepare for operating onthe following servo or data sector.

Also shown in FIG. 3a is a detailed view of split data sector D2,labeled 360. Two additional fields are typically required when a datasector is split by a servo sector: split pad 364 and a VCO resync 368.Field 322 shows a portion of data sector D2 prior to servo sector 312.Split pad field 364 allows for the electronics to interrupt the readingor writing of data in a manner well known in the art. Servo sector 312is followed by VCO resync field 368, which is used to restore the systemto allow for continuation of the read or write operation. Finally, aportion of data section D2 following servo sector 312 is shown at 324.Note that split pad field 364 may be the same number of bytes in lengthas data pad field 356, or it may be different. Also, VCO resync field368 may be identical in content to VCO sync field 352, but this is notrequired. More capacity may be achieved by making fields 364 and 368shorter than their counterparts 352 and 356; methods for achieving thisbenefit are discussed in the prior art.

For any given data recording disk drive, there is a fixed number ofservo sectors per track (hereinafter designated as N) throughout thedisk. Also, for each zone there is a fixed number of data sectors oneach track (hereinafter designated as M). If M is not a multiple of N,then some of the data sectors will be split by servo sectors. The splitportions of each data sector are denoted as sections. Further, the firstsection belonging to a data sector is called the primary section and anyremaining sections are called secondary sections. Since all data sectorson a track have the same number of bytes, and since the servo sectorsare equally spaced, there will be a limited number of unique datasections on the disk drive. The set of data sectors and servo sectorswhich defines one period of the unique pattern of data sections iscalled a segment. The number of data sections in a segment (hereinafterdesignated as nss) is given by:

    nss=m+n-1                                                  (1)

where m/n represents the reduced fraction of m/n.

Since m and n represent the numerator and denominator of the reducedfraction of the ratio of the number of data sectors per track to thenumber of servo sectors per track, it is apparent that there are n servosectors and m data sectors in a segment. For exemplary segment 304 shownin FIG. 3a, n=3, m=5, nss=7, N=84, M=140, and nst (the number ofsegments per track)=28. It is to be noted that in accordance with theno-ID sector architecture, neither the servo sectors nor the datasectors include data ID fields. Instead, the information necessary toidentify data sector numbers and data sector locations is provided inservo sectors 310, 312, 314, etc. and in electronic storage accessibleto the servo electronics, as will be described in greater detail below.

It should be noted that the choice of the segment configuration isflexible. For example, the entire track could be defined as a segment.In some circumstances, this may be the natural choice, such as when Mand N are relatively prime, resulting in m=M and n=N. However, nothingprecludes choosing m/n to be an integer multiple of the reducedfraction. Moreover, there are cases where the above analysis on theratio of the number of servo sectors to the number of data sectors isnot the preferred choice for defining a segment. This can occur when aspace is left at the end of a track, where the last data sector on thetrack ends substantially prior to the end of the track. Such a case isillustrated in FIG. 3b. The track is designated 380, and contains 7servo sectors 384. There are 11 data sectors, DS1 through DS11. Notethat data sector DS11 ends prior to the end of track 380. The remainingspace is stub 385, which contains no user data since it is shorter thana data sector. In this example, N=7 and M =11, which from the aboveanalysis would lead to a segment size of n=7 and m=11. However, FIG. 3billustrates a second possibility. The unique spatial relationshipbetween the servo sectors and data sectors is achieved with n=3 and m=5.This choice results in two full segments, 381 and 382, and one partialsegment 383. The disk drive need only know the total number of datasectors on the track to handle the partial segment. Once the data sectornumber has reached the maximum value, the drive will wait until the nextservo sector, which resets the data sector counter to the first datasector number. It is to be noted that a track format having multiplestubs may be selected, including stubs located within tracks as well asat their ends. In any event, an advantage may in some cases be achievedin the presence of stubs by redefining the region using a smallersegment size since this in turn decreases the amount of memory requiredto store the format information.

II. FORMATTER AND SERVO ELECTRONICS

FIG. 4. is a schematic diagram of the preferred embodiment of the servoand formatter electronics used to locate and identify data sectorsaccording to the present invention. Servo electronics 212 includesaddress mark (AM) detector and track number (TID) decoder 412, servosector counter 414, safety logic 416, actuator position control logic418, timing generation logic 420, sector pulse generation logic 421 andformat table 422. Formatter electronics 215 includes defect map table450, data sector identifier 454, logical block address (LBA) to physicalblock address (PBA) converter 456, PBA to zone, cylinder, head and datasector (ZCHS) converter 458 and control function 476.

In operation, formatter 212 receives a request for a read or writeoperation on a list of data sectors 264. The sectors are identified bytheir LBAs. The LBA list is converted to a PBA list by converter 456using defect information 460. The PBA list 468 is converted to a list ofphysical ZCHS. Both of these conversions processed are discussed fullyin section VI below. The cylinder and head values 466 (C and H) arepassed to actuator position control logic 418 to affect a seek. Actuatorposition control logic 418 functions in a manner known in the art. Zoneand sector values 464 (Z and S) are passed to data sector identifier 454and to servo electronics 212. Additionally, servo electronics 212receives servo information 266 from the read/write electronics. AMdetector 412 detects the servo address mark, and signals address markfound (AMF) at 432. This signal is passed to timing logic 420, whichgenerates the timing signals necessary for operation of servoelectronics 212. AMF 432 is also passed to servo sector counter 414. Inaddition, AM detector 412 decodes the TID information, includingcylinder (track) number, servo index, servo sector number and headnumber. Index signal 433 is used to reset servo sector counter 414, andthe counter is incremented by AMF signal 432 at each subsequent servo.In this manner, the servo sector counter will always output the currentservo sector number at 436. Safety logic 416 receives decoded TIDinformation 430, and servo sector number 436. This logic performsvarious safety tests to ensure the proper operation of the servoelectronics. Its functions include comparing the generated servo sectornumber 436 with any servo sector number information in the TID(including index) and processing any error handling information in theTID. Error information, along with the cylinder and head number, areoutput at 438. Actuator position control 418 compares the cylinder andhead values 438 with the target values 466, and acts upon any errors.Sector pulse logic 421 uses servo sector number 436 to generate theaddress for format table 422, retrieving segment information 440 for thezone (described in detail below). Sector pulse logic 421 also containsthree counters: a sync counter, a data counter, and a pad counter. Eachof these counters is used to count byte clocks during the various fieldsin the format, whereby the data sectors are located and identified.Sector pulse logic 421 is thereby able to identify both the startinglocation and the data sector number of the data sector about to passunder recording head 208. The current data sector number 442 is sent toformatter electronics 215, and a start of data sector pulse 444 is sentwhen the start of a data sector is under the head, enabling theformatter to perform functions with zero latency. Upon receipt of sectorpulse 444, data sector identifier 454 compares the current data sectornumber 442 to the list of ZCHS values 464. If a match is found, thisinformation is passed via 470 to control function logic 476, at whichpoint the data sector is further processed in accordance with methodsknown in the prior art.

With reference to the fields described above, it is to be noted thatmany alternative configurations exist which would accomplish the samepurpose. For instance, the LBA may be replaced with any logicalidentifier, while the ZCHS may be replaced with any value or combinationof values identifying a unique sector number. The combination of theabove electronics and microcode in microprocessor 216 is able to detectand act on any errors discovered between the target ZCHS values and thedetected values. This provides the disk drive with a high degree ofreliability, even in the absence of data ID fields. For example, if adetected track number does not match the target value, a seek error willbe posted, and this error may be handled as is known in the art. Othererrors, such as a mismatch between the servo sector counter and the TIDinformation (index and possible servo sector number bits) will bedetected by safety logic 416, for action by other parts of the drive.Such errors may be handled as data ID miscompares, and recovered byforcing the servo sector counter to align with the index mark andrepeating the operation. Finally, as will be described in greater detailbelow, an important input required for sector pulse logic 421 tocontinuously compute data sector locations is a servo-modulo count. Theservo-modulo count allows for a reduction in the total memory requiredfor the format information by taking advantage of repetitive patterns inthe format.

III. LOCATING AND IDENTIFYING DATA SECTORS

Shown in FIG. 5 are the components required for sector computation inaccordance with the present invention. In general, there is provided arandom access memory 504 and a set of registers designated as 506,connected to an address and data bus (not shown). These may residewithin servo electronics 212, in format table 422. Microprocessor 216(or other electronics) stores information in the random access memoryand in the registers, and then accesses this information in order toperform sector identification and location computations.

In particular, RAM 504 stores the information required to identify thedata in each region in a given unique segment. For convenience ofdescription the information fields are shown organized into a tableformat, although any appropriate data structure may be substituted. RAM504 is addressed by the region within the segment (equivalent to theservo sector number within the segment). The fields required for eachregion include DS1Len 508, DS1Num 510, DS1V 512, NumFull 514, DS2Len516, and DS2V 518. DS1Num is the number, from the start of the segment,of the first data sector following the servo. In the preferredembodiment, this field contains a 7 bit value. DS1Len is the length inbytes of the first data section in the region. In the preferredembodiment, this field contains a 10 bit value. DS2Len is the length inbytes of the last data section in the region. In the preferredembodiment, this field contains a 10 bit value. NumFull is the number offull (not split) data sectors in the region. In the preferredembodiment, this field contains a 3 bit value. DS1V is a flag, which ifset, indicates that the first data sector is split, and therefore thatthe value DS1Len is valid. In the preferred embodiment, this fieldcontains a 1 bit value. DS2V is a flag, which if set, indicates that thelast data sector is split, and therefore that the value DS2Len is valid.In the preferred embodiment, this field contains a 1 bit value.

Since every segment within a given zone has the same number of bytes,for each zone it is only necessary to store format information for asingle segment. The servo sector number within the segment (equivalentto the region number) is used to address the format information for theappropriate segment. The value DS1Num is included for performancereasons. Sector pulse logic 421 includes a data sector number counter,which starts counting data sector pulses at index. As long as the servoelectronics remain active, the data sector number counter will becorrect. However, when a zone switch occurs, the data sector numbercounter must be preset. On the other hand, it is preferable to avoidwaiting for index to start counting data sectors, as this causes alatency penalty. With the DS1Num value, the counter is preset at everyservo sector, thereby avoiding additional latency. Further, thistechnique allows the disk drive to recover quickly from power savingmodes, where much of the electronics is powered down when not performingdata operations. Using the present invention, the data sector counterwill be preset with the correct value at the first servo sectorfollowing the end of power saving, rather than at index.

From the definition of the sector architecture shown in FIG. 3a, onlythe first and last data sections in any given data region may containpartial sectors. Therefore, only the lengths of these two sections mustbe stored in the table; thus the inclusion of DS1Len and DS2Len. NumFullis the number of complete data sectors in the data region. It is used toprevent the generation of false data sector pulses prior to the end of aregion, where the end of a data sector may be close the start of to aservo sector, by disabling the data sector number counter once NumFulldata sector pulses have been generated. It is also used to control thegeneration of data sector pulses for the data sectors which start withinthe region. DS1V and DS2V are used to indicate the validity of theDS1Len and DS2Len values. This is prompted by the necessity to know ifthe first data section in a region is a primary section so that a reador write operation initiated at a servo sector will not be started on asecondary data section. For example, in region 308 the DS2Num valueafter servo sector 312 is D2 for data section 324. However, a read orwrite request for data sector D2 must start at data section 322,therefore the servo electronics must ensure that data section 324 is notmis-identified as the start of data sector D2. Similarly, DS2V is usedto indicate that the last data section is split by a servo sector. Theuse of these flag values is preferred for performance reasons, sincethey provide for a direct decode. However, it is apparent that thelimited range of values for DS1Len and DS2Len allows for the use ofspecific values (e.g. 0) to provide the same function.

Only the lengths of the first and last data sections in a region must bestored in the table because all other sections are necessarily fulllength. Data-section-split flags are required only for the first andlast sections since all others must be complete. DS1V will be zero ifthe first section is primary (that is, not split). DS2V is likewise usedto initiate the split data sector function at the end of the lastsection if it is split.

It is to be noted that the above-described information may be stored inRAM memory as shown in FIG. 5, and addressed by the servo sector numberwithin a segment. However, it is also possible to organize theinformation by data sector number, which may in turn be used to addressthe RAM. In this case the specific fields must change, but they stillsupport the functions described above. Further, any or all of the aboveinformation may also be stored in any other convenient medium, such asin registers, flash memory, or any other storage device accessible toservo electronics 212.

Aside from the above-described information which is stored for eachregion in a segment, additional information is required, for each zone,to enable the servo processor to locate data sectors which are notpositioned immediately following a servo sector. In FIG. 5, thisinformation is contained generally in registers 506, including Sync Longregister 520, Sync Short register 522, Pad Long register 524, Pad Shortregister 526, and Data Full register 528. Registers 520-528 are used toload the three counters in Sector Pulse Logic 421. All three counters(sync counter, data counter, and pad counter) are down counters whoseinput clocks are the current data byte clock. Only one counter isenabled at a time, in a sequence determined by the track format.Additional information for other operations is contained in n register530, which holds the reduced numbers of data sectors per track, mregister 532, which holds the reduced number of servo sectors per track,NDS register 534, which holds the number of data sectors per track, andDSkew register 536, which holds the data sector skew value.

Turning in particular to registers 520-528, Sync Long register 520contains the number of byte clocks in VCO sync field 352. Sync Shortregister 522 contains the number of byte clocks in VCO Resync field 368.In the preferred embodiment, this field is shorter than field 352;however, if the fields are of equal length then only Sync Long register520 is required. Pad Long register 524 contains the number of byteclocks in Data Pad field 356 when it is followed by VCO Sync field 352.Pad Short register 526 contains the number of byte clocks in Data Padfield 356 when it is followed by a servo sector. The Pad Long and PadShort values are different since the servo sector contains W-R and Speedfield 342, which shares some common function with Data Pad 356. DataFull register 528 contains the number of byte clocks in Data and ECCfield 354, which is the total number of data and ECC bytes in a datasector.

During operation of servo electronics 212 in cooperation with RAM 504and registers 506, the sync counter is started following a servo sector.Prior to this, the sync counter is preloaded from Sync Long register 520if the value of DS1V is 0, and from Sync Short register 522 if the valueof DS1V is 1. Further, if DS1V is 0, data sector pulse 444 is generatedand the data counter is preloaded with the value in Data Full register528. Otherwise it is loaded with the value in DS1Len. When the synccounter reaches 0, the data counter is started. If the number of datasector pulses generated in the region equals NumFull, then the padcounter is loaded with the value in Pad Short register 526; otherwise itis loaded with the value in Pad Long register 524. When the data sectorcounter reaches 0, the pad counter is started. When the pad counterreaches zero, the end of the current data sector has been reached. Ifthe number of data sector pulses generated in the region equals NumFull,then a servo sector follows. Otherwise a data sector pulse is generated,the data sector number counter is incremented, and the sync counter ispreloaded with the value in Sync Long register 520. This process repeatsuntil the region is completed, which is determined by the generation ofNumFull data sector pulses. When the number of data sector pulsesgenerated in the region equals NumFull and DS2V is 1, then the datacounter is preloaded with the value in DS2V instead of with the value inData Full register 528.

Three counters are used instead of one due to the types of fields beingcounted, to limit the number of tap points on a single counter, and toallow for each counter to be preloaded while another counter is running.It is to be noted that while a particular preferred counter arrangementhas been disclosed, the above function can be implemented using manyalternative counter and register arrangements whose result would remainwithin the spirit and scope of the present invention.

Using the above information, servo electronics 212 is able to locate thestart of any data sector in a segment. Further, the sector number fromindex for a given data section may be determined using the equation:

    N i!=mx GN+D 1Num+i                                        (2)

where SN i ! is the data sector number from index (zero based) for thei-th data sector in the segment, and SGN is the segment number fromindex (zero based).

During operation of disk drive 202, read and write operations arereceived which require recording head 208 to be repositioned overvarious tracks and then to read or write various data sectors. Oncerecording head 208 is positioned over the appropriate track, the aboveequation is used to determine when the appropriate data sector ispassing under the head. In particular, the equation is used to compute acurrent data sector number which is continuously compared with the datasector number requested for the read or write operation. If the valuescompare, the desired operation is performed. Since there are no IDfields, the data section lengths computed based on the data valuesdescribed above identify the location of data in particular segments andregions.

In the preferred embodiment, various ones of the abovedescribedinformation fields are maintained in various storage areas in order toimprove operational performance. For instance, the information for thecurrent zone may be maintained in dedicated local storage analogous toregisters 520-536 in order to avoid bus arbitration. The values may bereloaded from general storage such as RAM 217 after each zone switch.The disk format determines the amount of storage required to hold thevalues for a particular implementation. Since known implementationsrequire 32 or fewer regions per zone, the local storage requirements forthe zone tables are 30 bits per region or 256 bytes per zone, includingallowance for ECC. Thus, in the preferred embodiment, high performancemay be achieved without incurring a storage access penalty.

IV. SERVO-MODULO COUNTER

In order to use the above-described sector identification/locationschema effectively, the system of the present invention must be able todetermine both a segment number and a servo sector number within thesegment prior to performing a read or write operation. To avoid thelatency penalty created by waiting for an index mark as a basis tocompute the above information, servo-modulo counter electronics areprovided to generate this information continuously, even after a head orzone switch. In the preferred embodiment, this is achieved using ahardware circuit whose inputs are m, n, servo (servo sector number) andDS1Num.

The purpose of the servo-modulo counter is to produce the quantitiesservo mod n and m×(servo/n) . The former is the remainder of servo/n,the number of servo sector n from the start of the segment, which isused as the address for RAM-based zone table 504 described previously.The latter is the data sector number of the first data sector in thesegment, hereinafter referred to as DSB, the data sector base number,which is also the first term in equation (2). FIG. 6 illustrates inflowchart form the operations required to perform these computations. At602 the remainder value is initialized to the servo count. At 604, thequantity DSB is initialized to zero. At 606, a loop is entered whichcomputes the value of servo mod n (remainder) by repeated subtractionuntil an overflow occurs. In particular, at 606 temp, a temporaryvariable, is assigned the value of remainder--n (of servo/n--n). At 608,the underflow test is performed (temp<0). If an underflow is detected,the process is exited at 610. If no underflow is detected, theprocessing continues at 612, where the quantity m is added to DSB.Finally, at 614 the remainder is set equal to temp (the remainder minusn), and processing returns to 606. At exit point 610, both DSB(m×(servo/n) ) and the remainder (servo mod n) have been computed.

Shown in FIG. 7 is a schematic diagram illustrating an electroniccircuit in accordance with the preferred embodiment of the presentinvention. The circuit computes the values of m×(servo/n) and servo modn in accordance with the process shown in the flowchart of FIG. 6 anddescribed above. As in the flowchart, servo mod n is computed byrepeated subtraction which is halted by an underflow operation. Thecircuit includes control logic 702, subtracter 704, adder 706, registers708 and 710, MUX 712, adder 714 and data sector number counter 716. Inoperation of the servo modulo counter circuit, control logic 702receives start signal 720 to begin a computation, and produces donesignal 744 when complete. Register 708 stores the result of therepetitive subtractions and at the end of computations contains thecorrect value of servo mod n (the remainder). Subtracter 704 receivesinput 738 from register 708 and input 726 (the value n) from register530 (shown and discussed previously with reference to FIG. 5). The inputto register 708 is from MUX 712. The MUX allows either the numerator,servo 728, or the results of the previous subtraction to load register708. The register load signal (not shown) comes from control logic 702,and is asserted once per subtraction operation. Underflow signal 742 ispassed to control logic 702. If an underflow is detected, the registerload signal is stopped, and the remainder value will be stable on 740.Control logic 702 also controls the output from MUX 712 to register 708via select line 732. MUX 712 is configured such that the firstsubtraction uses current servo count 728 while subsequent subtractionsuse the intermediate results. Further, register 708 is located prior tosubtracter 704 so that it contains the results of the prior subtractionwhen the loop exits, since the exit condition is an underflow.

The value of m×(servo/n) is computed by repeated addition of thequantity servo mod m for each subtraction operation performed in themodulo block. Adder 706 adds input 730 (the value m) from register 532(shown and discussed previously with reference to FIG. 5) and the resultof the previous addition 746. The intermediate values of the addition748 are stored in register 710 at the output of adder 706. The registerload signal (not shown) comes from control logic 702, and is assertedonce per addition operation. Control logic 702 synchronizes the additionand subtraction operations through the register load signals, therebyeliminating the need for a separate multiplier or an accumulator tocompute DSB (m×(servo/n) ). When the operation is complete, DSB value746 produced by the circuit may be used in accordance with equation 2 togenerate the current data sector number. Specifically, result DSB 746 ispassed to adder 714, along with DS1Num 754, addressed by remainder 740.These values are added and output at 750 as the data sector number fromindex of the first data sector in the segment. Data sector numbercounter 716 is preloaded with adder value 750 upon receipt of a loadsignal from the control logic (not shown). Data sector number counter716 increments upon receiving data sector pulses 756, and outputs thecurrent sector number at 752.

To avoid a latency penalty which would otherwise be created upon head ortrack switches due to the time required to settle on the new track, itis well known in the art to use cylinder and head skewing between disksurfaces and tracks of a data recording disk drive.

In accordance with the present invention, a technique is provided forimplementing this skewing by adjusting the value in data sector counter716 to account for the skew. The raw (unskewed) current data sectornumber 752 is adjusted by subtracting the value in Dskew Register 536from the current data sector number 752. This subtraction is performedmodulo the value in NDS Register 534. The result is the current skeweddata sector number which may be provided as input 442 to Data SectorIdentifier 454. Finally, it should be noted that while this skewingtechnique has been described with reference to data sectors, it may alsobe used equally effectively to implement skewing on the basis of servosector number in a manner analogous to that described above.

V. STAGGERED SECTOR SERVO

The use of a hardware-based servo modulo counter in accordance with thepreferred embodiment insures that no latency is added for head or zoneswitches. For a zone switch, the servo sector counter maintains count ofthe servo location. Once servo and data modulo values of m and n arechanged, the section length and data sector number will be correct.Similarly, for a head switch, once the servo count is correct, theremaining values follow.

For a disk drive which implements a staggered sector servo approach, theservo counter value must be set properly following a head switch inorder to account for the staggering. FIG. 8 illustrates, incross-sectional view, a staggered sector servo disk drive. The diskdrive is generally designated 802, and includes spindle 804 and disks806, 808 and 810. The locations of the servo sectors are shownschematically as black rectangles in two groups 820 and 822. The servosectors are not vertically aligned, rather they are arranged diagonal topermit the servo writing of all surfaces of the disk drive in a singlepass write per track. After using one head to write a servo sector onone surface, the next head (on the next surface) is activated and aservo sector is written there, allowing multiple surfaces to be writtenin one revolution, decreasing the servo write time and cost.

To write a staggered sector servo pattern in accordance with the presentinvention, the servo sector counter must be synchronized with the servosector numbers on the surface being switched to. This function may beaccomplished by writing a subset of the servo sector number (possiblythe entire sector number) into the TID information in position field346. Alternatively, servo sector counter 414 may be updated based on alookup table containing the stagger offsets. In the former case, theservo sector number read from the servo sector is decoded by AM detector412 and passed to safety logic 416. Safety logic 416 uses this value toupdate servo sector counter 414.

For example, the entire servo sector number may be encoded in the TID.Following a head switch, safety logic 416 uses the read value to preloadservo sector counter 414, ensuring synchronization. In the lookup tablecase, a table of offsets is kept which is used to increment or decrementthe value in servo sector counter 414. An exemplary table is shown at840. The table comprises 3 columns, head shift 842, servo sector counteroffset 844 and servo timing adjustment 846. Upon commencement of a headswitch, the head shift value (plus being down, minus being up) is usedto look up the servo counter offset and timing adjustment. Offset values844 are used to increment or decrement servo sector counter 414. Timingadjustment values are used by timing logic 420 to adjust for the newservo sector positions. For convenience, the values in column 846 arelisted as fractions of the servo-to-servo spacing. Thus, for example, ifthe current head is on the lower surface of disk 806, and a head switchto the upper surface of disk 810 is desired, the head switch value wouldbe +3. From lookup table 840 the servo sector count increment would be0, and the servo sector timing adjustment would be 1/2 of theservo-to-servo spacing. The table construct shown in FIG. 8 also allowsfor more general offsets, such as skewing the index from surface tosurface. This would result in a unique value for each head shift value.Further, the table may be used in conjunction with encoding the servosector number in the TID to add a further degree of reliability to thesystem. Of course, this table may be stored in RAM or any otherappropriate medium.

VI. CONVERTING FROM LBA TO ZCHS

As discussed previously, in order to find a requested data sector on adisk a received logical block address (LBA) must be converted into azone, cylinder, head, sector (ZCHS) value. In general, this involvesfirst converting the LBA, which is the user identifier for the datasector, into a physical block address (PBA) which is a mapping of theLBA into the physical space of the disk drive. The aforementionedHetzler application Ser. No. (07/727,680) teaches the use of a defectmap and a basic process for performing the LBA to PBA mapping. However,since the LBAS for neighboring defects share most of their high orderbits, much of the information stored in the defect map is redundant,serving only to hamper performance and unnecessarily occupy RAM. Thepresent invention includes a particular map which removes the high orderbits of each LBA to minimize the bits required in representing eachdefect. The map takes account of skip sectors allocated on the disk,either due to defects or sparing, with use of a minimum amount of RAMand in a fashion that increases the performance of the disk drive.

The map is implemented as a pair of tables known as a virtual track (VT)table--which contains entries representing the mostly redundant highorder bits of the LBA--and a virtual sector (VS) table--which containsentries representing only the low order bits of the LBA. The output ofthe VT/VS table access, the PBA, is then located in a zone conversiontable in order to develop coefficients for use in computing thecylinder, head, and sector at which to perform the desired operation onthe requested data sector. Thus, two conversions are used, the first ofwhich removes skip sectors and the second of which provides theappropriate ZCHS value. The invention reduces the storage required forconversion to either two or one bytes per entry plus an offset based onthe drive capacity and choice of one or two byte entry. The inventionfurther reduces the magnitude of the search required to locate an LBAand thus the performance impact of the searching process.

Shown in FIG. 9 is the LBA to PBA mapping architecture which forms thebasis for the LBA to PBA portion of the conversion process. Inparticular, the figure shows the LBA represented in binary form at 904,virtual track table 906, virtual sector table 908, and defect sparetable 910. As shown at 904, the LBA as received from the disk driveinterface is first subdivided into two sections. The full length of theLBA in bits, shown as A, includes the number of bits in the high orderportion required to hold the virtual track number, designated as B, aswell as the number of bits required to hold the virtual sector number,designated as C.

A virtual track is defined as a contiguous set of data sectors whichhave exactly 2.sup.(A-B) good data sectors. A virtual track may containboth good sectors and skip sectors or alternatively it may contain onlygood sectors. All virtual tracks are contiguous with one anotherstarting from a defined virtual track of zero at the beginning of thedisk drive and running through the entire disk drive. Sub spaces of thedisk drive may also be mapped separately in the same manner. The virtualtrack number may be obtained from the LBA either by simply tapping thehigh order bits of the LBA or by logically shifting the LBA to the rightby the quantity A-B shifts. A virtual sector is defined as a good sectorcontained within a virtual track. There are 2^(A--B) different virtualsector numbers available. Thus, all virtual sectors within a virtualtrack are numbered consecutively starting at the first good sector inthe track and ending at the last sector in the track.

Given a subdivision of an LBA into a virtual track number and a virtualsector number, the virtual track number is referenced into virtual tracktable 906 in order to obtain an index point into virtual sector table908. The index point is used as a starting point in VS table 908 atwhich a sequential search is commenced, which search continues until avirtual sector number which is higher than the searched-for virtualsector number is located in virtual sector table 908 or the indexexceeds the entry for the next virtual track. Once the appropriate entryis found, the PBA is computed as the received LBA plus an index into VStable 908 corresponding to the final search entry.

VT table 906 contains an entry corresponding to every virtual track inthe disk drive. Each entry is at least B bits wide and contains apointer into VS table 908. The arrangement of the table thus gives eachentry two meanings. First, the entry value identifies the total numberof skip data sectors prior to the virtual track represented by theentry. Second, this same value represents the correct entry point intothe virtual sector table at which the skip sectors are listed for thevirtual track number represented by the entry. In operation, VT table906 is entered by indexing into it according to the value of B, thevirtual track number, obtained from entry 904. The value found at thedetermined index point is then added to the start of VS table 908 tolocate the first skip sector associated with the applicable virtualtrack.

Unlike VT table 906, VS table 908 does not contain an entry for everyvirtual sector on the disk drive. In contrast, VS table 908 need onlycontain entries for skip sectors (defective sectors and/or spare firstsectors). Each entry in VS table 908 corresponds to the good virtualsector following skip sector. As discussed above, VS table 908 isentered at the index value established through use of VT table 906.Starting at that index value, a sequential search is conducted againstthe value of the C bits received from the low order of LBA value 904until a virtual sector number is located which is greater than the valueobtained from the low order C bits of 904. This greater-than virtualsector number establishes the number of skips which must be passed inorder to arrive at the correct virtual sector number. An offset valuewhich is equal to the offset into virtual sector table 908 of the firstentry which is greater than the sought-after virtual sector number isadded to the LBA to arrive at the PBA value unless the next virtualtrack starts where the index is, in which case this offset/index isadded to the PBA value.

DS table 910 contains an entry for each entry in VS table 908. Thepurpose of DS table 910 is to distinguish the virtual sector entries inVS table 908 as either corresponding to defective data sectors, alsoknown as bad blocks, or to spare data sectors, also known as spareblocks. In the preferred embodiment, DS table 910 comprises a single bitentry corresponding to each entry of VS table 908, wherein the polarityof the bit in each entry is used to distinguish between bad blocks andspare blocks. It is to be noted that an advantage of DS table 910 isthat this table does not need to be resident in RAM storage exceptduring reassignment operations. Reassignment operations occur when growndefects develop during use of the disk drive, at which time sparesectors are reassigned as active sectors, and the defective activesectors are reassigned as skip sectors. Part of the reassignmentoperation involves changing bit values in DS table 910, in addition tovarious values in VT table 906 and VS table 908. Of course, in order tochange values in DS table 910, this table must be resident in RAMaccessible to the microprocessor. At all other times, DS table 910 neednot be resident or readily accessible to the disk drive electronics,because there is no requirement that the electronics determine whether asector identified in VS table 908 is bad or spare; rather it is onlynecessary for the electronics to determine that the sector is a skipsector.

Shown in FIG. 10 is a flowchart illustrating the LBA to PBA conversioncomputations. The conversion computations perform three basic functions.First, they set the bounds on the search to be conducted through VStable 908. This is accomplished by examining the virtual track numberentry identified in the LBA along with the succeeding virtual tracknumber entry in VT table 906 to establish starting and ending offsets inthe virtual sector table. Second, once the bounds of the search are set,the conversion process sequentially searches through VS numbers in theVS table until its position in the table corresponds to the startingpoint of the next virtual track (that is, the upperbound of the search)or a VS table entry greater than the C bits is found. Third, as acriterion of the search, each virtual sector number in virtual sectortable 908 must be greater than or equal to its predecessor unless avirtual track boundary is crossed, at which point searching is ended.

With particular reference to FIG. 10, the variable D is taken torepresent the quantity A-B, where A is equal to the number of bits inthe LBA while B is equal to the number of bits in the virtual tracknumber. Thus, D corresponds to the number of right-hand shifts of theLBA required to obtain the virtual track number. The variable Erepresents the quantity 2^(c) -1, where c is equal to the number of bitsin the virtual sector number. Thus, E simply provides an AND mask foruse in determining the virtual sector number. It is to be noted that thevalues of D and E are established according to system parameters. Forinstance, since most modern microprocessors handle bits in multiples of8, it may be desirable to establish D and E so that all values areprovided in multiples of 8 bits. Finally, p refers to the present offsetin the virtual sector table.

The flow chart of FIG. 10 is entered at 1004, where VTN is set equal tothe LBA shifted right by a quantity of D bits. Next, at 1006, thevirtual sector number is set equal to the LBA anded with E. Thus, atthis point the logical block address has been separated into its virtualtrack number and virtual sector number components. Next, at step 1008,the present offset into the virtual sector table is set equal to thevalue found in the virtual track table at the virtual track numberoffset. This establishes a starting point for further searching in thevirtual sector table. Next, at step 1010, the value of E is set to thenext virtual track number (the upper bound of the search to be executedon the virtual sector table).

At 1012, a loop is entered in which a test is performed to determinewhether the end of the virtual track has been reached. It is to be notedthat if this case occurs on the first iteration through the loop, theresult would indicate that the present track contains no defectivesectors. If the end of the track has not been reached, at 1014 a secondtest is performed in which it is determined whether the virtual sectorbeing searched for still exceeds the virtual sector entry being testedin the virtual sector table. If the result of the test is positive, thisindicates that the sought after index has not yet been located. In thiscase step 1016 is executed to increment the present offset into thevirtual sector table to the next virtual sector table entry. After this,control is returned to the beginning of the loop at 1012. If the resultof the virtual sector number comparison conducted at step 1014 isnegative, this indicates that the sought-after virtual sector index hasbeen located in the virtual sector table. The effect on the flow controlis the same as if the end of the track is detected at step 1012, andresults in entry to step 1018. At 1018, the search is finalized bysetting the PBA equal to the LBA added to the value of the presentoffset in the virtual sector table. Finally, the process is exited at1020.

An important advantage is achieved through the use of overlap betweencertain portions of the virtual track number and the virtual sectornumber. This overlap feature can be seen in the definition of the LBAshown at element 904 in FIG. 9 with reference to the B bits and C bitsdefining the virtual track number and the virtual sector number,respectively. When such an overlap is present, a portion of the virtualsector number corresponds to the least significant bits of the virtualtrack number. This overlap is intentionally provided in order to improvethe mapping efficiency from the LBA to the PBA. The overlapping bitsbetween the virtual track number and the virtual sector number give thevirtual sectors the ability to distinguish between adjacent and nearbyvirtual tracks without having to refer back to the virtual track table.The amount of overlap between the virtual track number and the virtualsector number establishes the quantity of virtual tracks that may bedistinguished from one another using a single virtual sector number.Since the entries in the virtual sector table occur in increasingnumerical order, so long as there is at least one skip sectorrepresented in the virtual sector table within the quantity of virtualtracks that can be distinguished using a single virtual sector number,the virtual sector table alone can be used to detect all changes in thevirtual track number and indeed can be further used to count the virtualtrack number associated with the various entries in the virtual sectortable. Thus, the search through the virtual sector table may beperformed without having to revisit the virtual track table each time avirtual track boundary is crossed.

A second advantage of encoding some of the least significant bits of thevirtual track numbers into the virtual sector numbers becomes apparentwhen computing absolute distances between skips across track boundaries.For two skips which are separated by one or more track crossings, solong as the distance between them is within the resolution of theoverlap bits provided in the virtual sector, the virtual sector valuefor one skip sector can be subtracted from the other to establish anabsolute number of sectors between the skips. Thus, absolute distancecomputations may be performed across track boundaries also withoutreference to the virtual track table.

Once the physical block address has been computed, a second conversiontakes place in which the PBA is further converted to zone, cylinder,head, and sector location. FIG. 11 illustrates the zone conversionstorage components required to initiate the conversion process in a zonebit recording disk drive. The table is generally designated as 1104 andis preferably stored in RAM, but may alternatively be stored on anyother convenient media. Zone table 1104 includes three columns, zone PBAcolumn 1110, zone cylinder column 1112, and zone sector column 1113.Zone table 1104 includes an entry for each zone in the disk drive. Thefirst column of each entry, zone PBA 1110, identifies the starting PBAof that zone, and is used to determine which zone a desired PBA islocated in. Thus, the top entry in the table would identify the firstPBA in zone 1 of the disk drive, etc. The sought-after PBA number iscompared with each zone PBA entry until the zone containing the PBA islocated. The corresponding entries in zone cylinder column 1112 and zonesector column 1113 are then used to perform the conversion computationswhich will be described below.

FIG. 12 illustrates in flowchart form the steps which are preformed,once the zone conversion storage components have been located, toconvert from PBA to ZCHS. At step 1204, the zone table is searched forthe sought-after PBA number to retrieve the zone PBA, zone cylinder, andzone sector entries as described with reference to FIG. 11. At step1206, zone PBA is subtracted from PBA to determine how many physicalblocks (sectors) into the zone the desired PBA resides. A PBA offsetinto the zone is returned from this operation. At 1208, the PBA offsetis divided by the number of sectors per track. The mod, or remainder ofthis operation is designated as the starting sector number of the datatransfer. At step 1210, the quotient of the same division process istaken as the track offset from the start of the zone at which the datatransfer is to begin. At 1212, the absolute cylinder number which startsthe data transfer is computed by dividing the track offset by the numberof heads in the disk drive to produce a cylinder offset which is thenadded to the starting cylinder of the zone. Finally, at 1214 theremainder, or mod of the same division provided in 1212 is taken as theselected head for the start of the data transfer. At this point theprocess exits at 1216, having computed the zone, cylinder, head, andsector at which to begin the data transfer.

One beneficial result of decoupling the LBA to ZCHS conversion processinto two stages is a two step mapping process which significantlyreduces the number of spares that must be allocated across the diskdrive to handle grown defects occurring in the field. The two step LBAto ZCHS process in turn allows the allocation of skip sectors to bebroken into a two step process. First, surface analysis testing (SAT) isperformed across the entire disk drive to determine the factory defectlocations before the disk drive is shipped from the factory. The defectlocations are mapped into a virtual sector table by inserting skipsectors in numerical order. Also, a virtual track table is created andupdated as required by incrementing each virtual track entry followingthat track in which the error is detected. Second, after SAT iscomplete, spare locations are sprinkled evenly across the disk atdistances consistent with the probability of a grown defect. It is to benoted that the probability of a grown defect, and thus the density ofspares, may vary as a function of position on the disk. The result isthat sparing is reduced to minimal levels.

Given the above scheme for sparing, two alternative embodiments forreassignment of sectors are presented. Both reassignment techniques areintended to map a spare sector into the logical address space of thedisk drive as well as to map the defective sector into the virtualsector table and, if necessary, the virtual track table, in order toestablish the defective sector as a skip sector.

For either technique the re-assignment process begins by identifying theclosest available spare sector (to be used as the reassignment sector).This involves accessing the DS table and searching both forward andbackward from the entry closest to the defect until a spare entry isfound. The locations of the forward and backward entries are subtractedfrom the defect location, and the lowest absolute value result is usedto select the re-assigned sector. Once the re-assignment sector has beenidentified, one of the two re-assignment techniques is applied.

Turning to the first, the original tables are left unmodified, and aseparate list of re-assigned sectors is maintained. This separate listcontains sectors chosen from the sprinkle list which have been used asre-assigned sectors. The list is in the form of a map which includes afirst column representing grown defective ZCHS values and a secondcorresponding column representing new ZCHS values. The list itself maybe organized either by LBA number or ZCHS number. If it is organized byLBA number, it is checked before translation from LBA to PBA. In thiscase, the list entries are interpreted to indicate which LBAS are mappedout and what new LBAs they are mapped to. If the list is organizedaccording to ZCHS values, then it is referenced after translation fromLBA to PBA and from PBA to ZCHS, and its entries are interpreted toindicate which ZCHS values are mapped out and what new ZCHSs they aremapped to. In any event, when the defective reassigned sector isencountered during a data transfer operation, a second seek is executedto the assigned spare location and the data is read or written there.However, as discussed above, since the spares are sprinkled throughoutthe disk drive and the drive has selected for use the sprinkled sparenearest the defective re-assigned sector, the length of the seek isminimized and performance is thereby improved.

The second re-assignment technique effectively replaces the growndefective spare with the selected re-assign spare in the virtual trackand virtual sector tables. The virtual sector table is modified byinserting a new skip sector at the grown defect and then shifting allvalues between the grown defect and the reassigned sector. If theclosest spare is across a track boundary from the defect, the virtualtrack table is also updated to indicate the pointer changes. Thus, bysimply shifting LBAs in the virtual sector table between the defect andthe reassigned sector, the spare takes the logical place of the defectand no performance degradation is experienced thereafter.

It is to be noted that the skip sector conversion schema has theadditional advantageous property of operating in the presence of skewingwithout further modification. Where skewing is in effect, priorcomputations which compute sector number are considered to be withreference to unskewed sectors. Conversion to skewed sector then occursoutside the conversion process, as was described previously.

One modification to the above-presented embodiment, which may be usefulin cases where simplified mapping is desired, is to use a single tableconversion process which maps directly from LBA to ZCHS. The tableentries still require three or four bytes as in the prior art, howeverthe new table construction is based on LBAs adjusted by table location.Thus, the table contains LBAs which directly follow a given skip. Theadvantage of this approach is that the table look-up process requiresonly a simple single level search, either sequential or binary. The RAMrequirement is fairly small so long as the number of skips in the systemis kept small. However, for large modern disk drives the storagerequirement expands rapidly as the number of defects increases, therebyoverwhelming the utility of this approach.

It is also to be noted that the skip sector mapping technique disclosedin this section is useful beyond the realm of no-ID disk drives. Infact, this technique is considered applicable to any disk drive in whichbenefit may be obtained from knowing conclusively at the beginning ofevery seek operation exactly what the final target zone, cylinder, head,and sector are. Thus, in all disk drives, including those using IDfields and those using no ID information, the disclosed LBA to ZCHSmapping avoids the requirement to slip heads in order to handle sparesand defects. Moreover, the system leads to easy implementation ofjust-in-time seek profiles, where knowledge of the exact seekdestination is used to plan the seek trajectory so that the head settleson track just before the desired sector arrives at the head. Finally,the system allows for implementation of seek reordering includinglatency minimization, since the exact seek destination is known beforeseeking.

Most importantly, it should be noted that while the above descriptionhas focussed on partitioning the LBA into two portions, the concept mayeasily be extended to three or more partitions. For example, a virtualcylinder partition may be added which contains neighboring virtualtracks. This becomes advantageous as the number of virtual tracksbecomes large, since it reduces the amount of storage required for thevirtual track table. Thus, in general the mapping schema presented aboveshould be taken to encompass n-level hierarchical storage of skipsectors.

VII. CONCLUSION

A further advantage of the preferred embodiment hardware design lies inits built-in power management features. Since the servo-modulo countblock actually computes the modulos, the system requires only a singleservo sector time for initialization. The field length counters insector pulse logic 421 must operate only during read and write modes,and may be powered down otherwise. Thus, in a low power implementationof the present invention, much of servo electronics 212 and formatterelectronics 215 is powered down between read and write operations.Typically, timing logic 420 is active during this time, and generatessignals to activate AM detector 412 and other electronics at each servosector. Since the servo sector counter is active, a read or writeoperation may commence following the next servo sector. If even greaterpower savings is desired, an additional stage may be added in which theservo sector counter and associated electronics are powered down. Inthis mode, the system must wait for an index to initialize itself if thefull servo sector number is not encoded within the TID. If it isencoded, the system need only wait for the next servo sector.

While the invention has been described with reference to data sectorswhich are shorter than the data regions separating servo sectors, it isto be noted that the invention is equally applicable to the oppositecase--that is, a sector size or servo spacing selected such that thedata sector length exceeds the data region length. This may occur in animplementation which uses closely-spaced servo sectors for performanceor other reasons. It may also occur where the data sector size is chosento be relatively large for use in applications dealing with long blocksof information, such as multimedia presentations and scientific data.The result of the data sector size exceeding the data region size isthat a single data sector may span two or more servo sectors. This ishandled seemlessly according to the invention as disclosed above bysimply programming the register and RAM values accordingly.

While the preferred embodiment hardware design uses a servo modulocounter to reduce memory requirements, it is apparent that the segmentinformation may be expanded to store the information for an entiretrack. In this case, there is no need for the servo modulo counter,since RAM 504 will be addressed directly by servo sector number. Such adesign uses more RAM than the preferred embodiment, but will havesimplified hardware. The choice of designs depends on factors such ascircuit cost for the two implementations. Further, the data in RAM 504may be organized to allow addressing by values other than the servosector number. Specifically, the data sector number may be used toaddress the table.

Further, it is to be noted that in some implementations it may be judgedbeneficial for error handling purposes to include some portion of theLBA in each data sector. This allows for LBA verification during readoperations, but is of no use during write operations since thesought-after sector is being overwritten rather than read. Accordingly,LBA encoding in data sectors is not to be considered as analogous to IDinformation encoding in data sectors. Moreover, it is intended that theremoval or exclusion of ID information as discussed above encompasses animplementation which removes the ID from data sectors information, butincludes the LBA.

It is also apparent that the locations of the various functions shown inthe electronics may be altered, and that software may be substituted forsome of the hardware shown without departing from the spirit and scopeof the invention. It is further apparent that while the preferredembodiment has been described in the context of a zone recording format,the invention may be applied to other complex formats where the numberof data sectors on a track is not equal to the number of servo sectorson a track, so long as the format details are known to the disk drive.Moreover, the terms register and RAM should be viewed asinterchangeable, and the specific locations of the registers and RAM asunimportant. For example, registers 506 and RAM 504 may be locatedwithin RAM 217 instead of format table 422. Finally, it should be notedthat while the values and tables described above are stored in RAM andregisters during operation of the disk drive, they must be stored innon-volatile storage when the drive is not operating. Any non-volatilestorage may be used, but it is preferred to store the information on thedisk drive itself. The use of modifiable storage (i.e., the disk drive)allows for the disk drive to alter its own format without need forexternal intervention.

While the invention has been particularly described and illustrated withreference to a preferred embodiment, it will be understood by thoseskilled in the art that changes in the description and illustrations maybe made with respect to form and detail without departing from thespirit and scope of the invention. Accordingly, the present invention isto be considered as encompassing all modifications and variations comingwithin the scope defined by the following claims.

What is claimed is:
 1. A zoned recording fixed-block architectureembedded servo disk drive comprising:a rotatable data recording diskhaving a plurality of generally concentric data tracks divided into aplurality of radially-spaced zones and a number of generally equallyangularly-spaced servo sectors extending generally radially across thezones, each of the tracks in the plurality also having an indexassociated with it for signaling the beginning of the track and a numberof data sectors but no identification (ID) regions containinginformation that uniquely identifies the data sectors, each of thetracks being divided into a number of identical track segments, each ofthe identical track segments consisting of n servo sectors and n dataregions, each data region being located between circumferentiallyadjacent servo sectors, the n data regions being divided into m datasectors, where m may vary from zone to zone, at least one of the m datasectors being split into data sections by a servo sector; a recordinghead that reads information in the servo sectors and writes and readsuser data in the data sectors and is movable across zones; a servosector counter, responsive to the track index signal, for counting servosectors as the disk rotates past the head; memory storage for storingtrack segment format information including, for each of the m datasectors within a segment, the data sector number from the start of thesegment; a data sector counter coupled to the memory storage forcounting data sectors, the data sector counter being preset by receiptof the track index signal; sector logic circuitry responsive to thecount from the servo sector counter and to the count from the datasector counter for retrieving track segment format information from thememory storage and for locating, from the track segment formatinformation and without use of ID regions, a data sector where user datais to be read or written; read/write circuitry coupled to the sectorlogic circuitry and to the recording head for causing the head to reador write at the located data sector; and wherein, after movement of thehead from a first zone to a second zone, the data sector counter ispreset by the stored data sector number corresponding to the data sectorthat immediately follows the first servo sector read by the head afterthe head is moved to the second zone; whereby the head may read or writein a data sector in the second zone prior to the data sector counterbeing preset by the track index signal in the second zone.
 2. The diskdrive according to claim 1 wherein the disk drive is capable ofoperating in a reduced power mode during which power to the data sectorcounter is reduced, and wherein after recovery from said reduced powermode, the data sector counter is preset by the stored data sector numbercorresponding to the data sector that immediately follows the firstservo sector read by the head after recovery from said reduced powermode; whereby the head may read or write in a data sector after recoveryfrom said reduced power a mode prior to the data sector counter beingpreset by the track index signal.